package com.example.myapplication.a_class.a03_interface

class MyClass :MyInterfaceAA,MyInterfaceBB{

    /**
     * 接口中定义的属性,必须实现,get,set,也可以直接赋值
     */
    override var aaValue01: Int
        get() = TODO("Not yet implemented")
        set(value) {}
    override val aaValue02: Int
        get() = TODO("Not yet implemented")


    override fun bar() {
        TODO("Not yet implemented")
    }

    /**
     * 不同接口同名方法,尖括号指定接口名
     */
    override fun foo() {
        super<MyInterfaceAA>.foo()
        super<MyInterfaceBB>.foo()
    }

}